package com.raise.drive.model.domain;

import java.util.HashSet;
import java.util.Set;

/**
 * Section is a logical part of tests and it consist of some questions.
 * Section could be "Spring beginning" or "Threads" and so on.
 * <p/>
 * Author: Evgeny Morozov
 */
public class Section extends Persistent {

    /**
     * Title of the section
     */
    private String title;

    /**
     * List of question
     */
    private Set<Question> questions = new HashSet<Question>();

    public Set<Question> getQuestions() {
        return questions;
    }

    public void setQuestions(Set<Question> questions) {
        this.questions = questions;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }
}
